Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcPowerFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 2 items: number, power.

Number is the base number. It can be any real number.

Power is the exponent to which the base number is raised.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the result of a number raised to a power.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcPowerFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 2 items: number, power.

    Number is the base number. It can be any real number.

    Power is the exponent to which the base number is raised.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also